package com.three.iot.api;

import com.three.iot.commons.dto.ProductAttrCondDto;
import com.three.iot.commons.dto.ProductAttrCreateDto;
import com.three.iot.commons.dto.ProductAttrRespDto;
import com.three.iot.commons.dto.ProductAttrUpadateDto;
import com.three.iot.commons.enums.Result;

/**
 * @author luiz
 * @Title: ProductAttrService
 * @ProjectName iot-server
 * @Description: TODO
 * @date 2019-06-17 16:52
 */
public interface ProductAttrService {
    Result listPage(ProductAttrCondDto productAttrCondDto);

    Result findAttrListByProducKey(String productKey);

    void create(ProductAttrCreateDto productAttrCreateDto);

    void update(ProductAttrUpadateDto productAttrUpadateDto);

    void delete(String id);

    ProductAttrRespDto findAttrByIndex(String productKey, String attrNo);
}
